package org.card.dao;

import org.card.bean.Role;
import org.card.query.RoleQuery;

import java.util.List;

/**
 * Created by card on 16/3/2.
 */
public interface RoleDao {

    int insert(Role role);

    int update(Role role);

    List<Role> selectList(RoleQuery roleQuery);

    int selectCount(RoleQuery roleQuery);
}
